home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Sound / LAME / WarpOS / src / Makefile.am < prev    next >
Encoding:
Makefile  |  2001-06-22  |  1.5 KB  |  66 lines

  1. ## $Id: Makefile.am,v 1.20 2001/06/22 08:49:02 aleidinger Exp $
  2.  
  3. include $(top_srcdir)/Makefile.am.global
  4.  
  5. .PHONY: test
  6.  
  7. SUBDIRS = mpglib libmp3lame frontend Dll debian doc include misc dshow
  8.  
  9. CLEANFILES = testcase.new.mp3
  10.  
  11. EXTRA_DIST = \
  12.     API \
  13.     DEFINES \
  14.     HACKING \
  15.     INSTALL.configure \
  16.     LICENSE \
  17.     Makefile.B32 \
  18.     Makefile.DJGPP \
  19.     Makefile.MSVC \
  20.     Makefile.unix \
  21.     Makefile.am.global \
  22.     PRESETS.draft \
  23.     README.B32 \
  24.     README.DJGPP \
  25.     README.WINGTK \
  26.     STYLEGUIDE \
  27.     USAGE \
  28.     configMS.h \
  29.     lame.bat \
  30.     lame.spec.in \
  31.     testcase.mp3 \
  32.     testcase.wav
  33.  
  34. #
  35. #  testcase.mp3 is a 2926 byte file.  The first number output by
  36. #  wc is the number of bytes which differ between new output
  37. #  and 'official' results.  
  38. #
  39. #  Because of compiler options and effects of roundoff, the 
  40. #  number of bytes which are different may not be zero, but
  41. #  should be at most 30.
  42. #
  43. testcase.new.mp3: testcase.wav frontend/lame$(EXEEXT)
  44.     time frontend/lame$(EXEEXT) --nores -h $(top_srcdir)/testcase.wav testcase.new.mp3 || $(RM_F) testcase.new.mp3
  45.  
  46. test: testcase.mp3 testcase.new.mp3
  47.     cmp -l testcase.new.mp3 $(top_srcdir)/testcase.mp3 | wc -l
  48.  
  49. testupdate: testcase.mp3 testcase.new.mp3
  50.     cp testcase.new.mp3 testcase.mp3
  51.  
  52. testg: frontend/mp3x$(EXEEXT) $(top_srcdir)/../test/castanets.wav
  53.     frontend/mp3x$(EXEEXT) -h $(top_srcdir)/../test/castanets.wav
  54.  
  55. update:
  56.     CVS_RSH=ssh cvs -z3 -q update -d -A -P || true
  57.  
  58. diff:
  59.     CVS_RSH=ssh cvs -z3 diff -u || true
  60.  
  61. frontend/lame$(EXEEXT):
  62.     $(MAKE) $(MAKEFLAGS)
  63.  
  64. frontend/mp3x$(EXEEXT): frontend/lame$(EXEEXT)
  65.  
  66.